making a gui that can only be visible by owner roblox

51

making a gui that can only be visible by owner roblox -

local players = game.Players.LocalPlayer
local gui = script.Parent.Frame -- location of the ui

if players.Name == "DrxpLoxs" then
gui.Visible=true
else
print("User is not me, gui hidden")
end

Comments

Submit
0 Comments